<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>PintarOS: include/command.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PintarOS
   </div>
   <div id="projectbrief">Operating System for Smart Card</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">command.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Header file for command interpreter and ISO command handler.  
<a href="#details">More...</a></p>

<p><a href="command_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcmd__maps__struct.html">cmd_maps_struct</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">structure of command maps  <a href="structcmd__maps__struct.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a7fabbb6b6d870eadcd88ddb6842ff86d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7fabbb6b6d870eadcd88ddb6842ff86d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a7fabbb6b6d870eadcd88ddb6842ff86d">MAX_INST</a>&#160;&#160;&#160;20</td></tr>
<tr class="memdesc:a7fabbb6b6d870eadcd88ddb6842ff86d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum Instruction code (used by command maps) <br/></td></tr>
<tr class="separator:a7fabbb6b6d870eadcd88ddb6842ff86d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c27c0086a2159232fa5439dc65bcfd6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c27c0086a2159232fa5439dc65bcfd6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a3c27c0086a2159232fa5439dc65bcfd6">ISO_SELECT</a>&#160;&#160;&#160;A4</td></tr>
<tr class="memdesc:a3c27c0086a2159232fa5439dc65bcfd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 SELECT Instruction code. <br/></td></tr>
<tr class="separator:a3c27c0086a2159232fa5439dc65bcfd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ebb90e504f144e32a1dbf8bba21bd6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69ebb90e504f144e32a1dbf8bba21bd6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a69ebb90e504f144e32a1dbf8bba21bd6">ISO_READ_BINARY</a>&#160;&#160;&#160;B0</td></tr>
<tr class="memdesc:a69ebb90e504f144e32a1dbf8bba21bd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 READ BINARY Instruction code. <br/></td></tr>
<tr class="separator:a69ebb90e504f144e32a1dbf8bba21bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4f814f09be08cda5b6685bb2bd34dc9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4f814f09be08cda5b6685bb2bd34dc9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ab4f814f09be08cda5b6685bb2bd34dc9">ISO_UPDATE_BINARY</a>&#160;&#160;&#160;D6</td></tr>
<tr class="memdesc:ab4f814f09be08cda5b6685bb2bd34dc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 UPDATE BINARY Instruction code. <br/></td></tr>
<tr class="separator:ab4f814f09be08cda5b6685bb2bd34dc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed35f89fcd7896aadd20986fdf7770f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed35f89fcd7896aadd20986fdf7770f8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#aed35f89fcd7896aadd20986fdf7770f8">ISO_READ_RECORD</a>&#160;&#160;&#160;B2</td></tr>
<tr class="memdesc:aed35f89fcd7896aadd20986fdf7770f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 READ RECORD Instruction code. <br/></td></tr>
<tr class="separator:aed35f89fcd7896aadd20986fdf7770f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab90f82962da33c6367cef20a21788655"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab90f82962da33c6367cef20a21788655"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ab90f82962da33c6367cef20a21788655">ISO_UPDATE_RECORD</a>&#160;&#160;&#160;DC</td></tr>
<tr class="memdesc:ab90f82962da33c6367cef20a21788655"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 UPDATE RECORD Instruction code. <br/></td></tr>
<tr class="separator:ab90f82962da33c6367cef20a21788655"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e680768c82bd301cd229c3de5008175"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e680768c82bd301cd229c3de5008175"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a6e680768c82bd301cd229c3de5008175">ISO_APPEND_RECORD</a>&#160;&#160;&#160;E2</td></tr>
<tr class="memdesc:a6e680768c82bd301cd229c3de5008175"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 APPEND RECORD Instruction code. <br/></td></tr>
<tr class="separator:a6e680768c82bd301cd229c3de5008175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab103a2ad5707dd4ac205d673901faf16"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab103a2ad5707dd4ac205d673901faf16"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ab103a2ad5707dd4ac205d673901faf16">ISO_CREATE_FILE</a>&#160;&#160;&#160;E0</td></tr>
<tr class="memdesc:ab103a2ad5707dd4ac205d673901faf16"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 CREATE FILE Instruction code. <br/></td></tr>
<tr class="separator:ab103a2ad5707dd4ac205d673901faf16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e9ba7985f1ad81c44c963ce76a808d7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e9ba7985f1ad81c44c963ce76a808d7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a7e9ba7985f1ad81c44c963ce76a808d7">ISO_DELETE_FILE</a>&#160;&#160;&#160;E4</td></tr>
<tr class="memdesc:a7e9ba7985f1ad81c44c963ce76a808d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 DELETE FILE Instruction code. <br/></td></tr>
<tr class="separator:a7e9ba7985f1ad81c44c963ce76a808d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a536b66cb51606b87a785cfb1c28c4d2c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a536b66cb51606b87a785cfb1c28c4d2c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a536b66cb51606b87a785cfb1c28c4d2c">ISO_VERIFY</a>&#160;&#160;&#160;20</td></tr>
<tr class="memdesc:a536b66cb51606b87a785cfb1c28c4d2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 VERIFY Instruction code. <br/></td></tr>
<tr class="separator:a536b66cb51606b87a785cfb1c28c4d2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc5e394a75199005a27a83dc36aa29e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc5e394a75199005a27a83dc36aa29e9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#abc5e394a75199005a27a83dc36aa29e9">ISO_INTERNAL_AUTH</a>&#160;&#160;&#160;88</td></tr>
<tr class="memdesc:abc5e394a75199005a27a83dc36aa29e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 INTERNAL_AUTH Instruction code. <br/></td></tr>
<tr class="separator:abc5e394a75199005a27a83dc36aa29e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afad5cae6acdc7d5c3b3bb818efa49139"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afad5cae6acdc7d5c3b3bb818efa49139"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#afad5cae6acdc7d5c3b3bb818efa49139">ISO_LOAD</a>&#160;&#160;&#160;DC</td></tr>
<tr class="memdesc:afad5cae6acdc7d5c3b3bb818efa49139"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 LOAD Instruction code. <br/></td></tr>
<tr class="separator:afad5cae6acdc7d5c3b3bb818efa49139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae06690caa58fcf64b990636bd2c82279"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae06690caa58fcf64b990636bd2c82279"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ae06690caa58fcf64b990636bd2c82279">ISO_INSTALL</a>&#160;&#160;&#160;DC</td></tr>
<tr class="memdesc:ae06690caa58fcf64b990636bd2c82279"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 INSTALL Instruction code. <br/></td></tr>
<tr class="separator:ae06690caa58fcf64b990636bd2c82279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93c88d8a82fa646cdf80bce8a8170e3f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93c88d8a82fa646cdf80bce8a8170e3f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a93c88d8a82fa646cdf80bce8a8170e3f">ISO_DELETE</a>&#160;&#160;&#160;DC</td></tr>
<tr class="memdesc:a93c88d8a82fa646cdf80bce8a8170e3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 DELETE Instruction code. <br/></td></tr>
<tr class="separator:a93c88d8a82fa646cdf80bce8a8170e3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1b8d33cb8f4feab7493577f1b88763e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1b8d33cb8f4feab7493577f1b88763e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ad1b8d33cb8f4feab7493577f1b88763e">ISO_GET_RESPONSE</a>&#160;&#160;&#160;C0</td></tr>
<tr class="memdesc:ad1b8d33cb8f4feab7493577f1b88763e"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 GET RESPONSE Instruction code. <br/></td></tr>
<tr class="separator:ad1b8d33cb8f4feab7493577f1b88763e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac78bdf3e73cf9c21a952bedd064dcb17"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17">inst_type</a> { <br/>
&#160;&#160;<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a28156e28735032cb52e9750039942250">Select</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a0e280497c793887d4f2a6ef294fa01d1">ReadBinary</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a4c62d44d03cc5692e55338b8700a476e">UpdateBinary</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a0db9f7c46e29c576cc74d69aa9caf3d6">ReadRecord</a>, 
<br/>
&#160;&#160;<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a8a375e76998677b0d3e9f98ab3168e34">UpdateRecord</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a663d39e7eb1c3642d09be4dc5702e192">CreateFile</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17ae7351e7a5477bf875bb31d999c289520">AppendRecord</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a57479680371066393b8b4fdd05ab5600">DeleteFile</a>, 
<br/>
&#160;&#160;<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a2e6c0938406548712044f94366ff1a3f">Verify</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a8689f4b5a525a36ab8ad61c21e98dc1e">InternalAuth</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17ac40ec5db2990469fc236f4c5dea23edb">Load</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17a8b83e06a4f6b163490fb3351bbd5aa3a">Install</a>, 
<br/>
&#160;&#160;<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17af89e673477625e3afc8d736d14cd268a">Delete</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17afafffa33c685091de435b2c985c39d40">GetResponse</a>, 
<a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17ab001b7e66b05242f00155ae689c13869">MaxInst</a> = MAX_INST
<br/>
 }</td></tr>
<tr class="memdesc:ac78bdf3e73cf9c21a952bedd064dcb17"><td class="mdescLeft">&#160;</td><td class="mdescRight">command instruction enumeration  <a href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17">More...</a><br/></td></tr>
<tr class="separator:ac78bdf3e73cf9c21a952bedd064dcb17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a83942a667e01b27bfeee7cfd36b02b2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c">CommandInterpreter</a> ()</td></tr>
<tr class="memdesc:a83942a667e01b27bfeee7cfd36b02b2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interpret command APDU and call appropriate command handler.  <a href="#a83942a667e01b27bfeee7cfd36b02b2c">More...</a><br/></td></tr>
<tr class="separator:a83942a667e01b27bfeee7cfd36b02b2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0129da990c2616610a0912fbfc26193"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ad0129da990c2616610a0912fbfc26193">ISO_SELECT</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:ad0129da990c2616610a0912fbfc26193"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 SELECT command handler.  <a href="#ad0129da990c2616610a0912fbfc26193">More...</a><br/></td></tr>
<tr class="separator:ad0129da990c2616610a0912fbfc26193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a588169cc127aae2c864db2c0ca25d8f6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a588169cc127aae2c864db2c0ca25d8f6">ISO_READ_BINARY</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a588169cc127aae2c864db2c0ca25d8f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 READ BINARY command handler.  <a href="#a588169cc127aae2c864db2c0ca25d8f6">More...</a><br/></td></tr>
<tr class="separator:a588169cc127aae2c864db2c0ca25d8f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29b292641b637806f13b141083c934a6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a29b292641b637806f13b141083c934a6">ISO_UPDATE_BINARY</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a29b292641b637806f13b141083c934a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 UPDATE BINARY command handler.  <a href="#a29b292641b637806f13b141083c934a6">More...</a><br/></td></tr>
<tr class="separator:a29b292641b637806f13b141083c934a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b4035820c2db0939f5688528028e1c6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a9b4035820c2db0939f5688528028e1c6">ISO_READ_RECORD</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a9b4035820c2db0939f5688528028e1c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 READ RECORD command handler.  <a href="#a9b4035820c2db0939f5688528028e1c6">More...</a><br/></td></tr>
<tr class="separator:a9b4035820c2db0939f5688528028e1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65fd4ec11629c588428cca9242d8d57a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a65fd4ec11629c588428cca9242d8d57a">ISO_UPDATE_RECORD</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a65fd4ec11629c588428cca9242d8d57a"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 UPDATE RECORD command handler.  <a href="#a65fd4ec11629c588428cca9242d8d57a">More...</a><br/></td></tr>
<tr class="separator:a65fd4ec11629c588428cca9242d8d57a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a060fe05a15301c9f3c20a76603ace01e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a060fe05a15301c9f3c20a76603ace01e">ISO_CREATE_FILE</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a060fe05a15301c9f3c20a76603ace01e"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 CREATE FILE command handler.  <a href="#a060fe05a15301c9f3c20a76603ace01e">More...</a><br/></td></tr>
<tr class="separator:a060fe05a15301c9f3c20a76603ace01e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a318874024e3aba75110f6c7432ee209f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a318874024e3aba75110f6c7432ee209f">ISO_APPEND_RECORD</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a318874024e3aba75110f6c7432ee209f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 APPEND RECORD command handler.  <a href="#a318874024e3aba75110f6c7432ee209f">More...</a><br/></td></tr>
<tr class="separator:a318874024e3aba75110f6c7432ee209f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd8e9c1a7237ba88889c3b1e59cad9f8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#abd8e9c1a7237ba88889c3b1e59cad9f8">ISO_DELETE_FILE</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:abd8e9c1a7237ba88889c3b1e59cad9f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 DELETE FILE command handler.  <a href="#abd8e9c1a7237ba88889c3b1e59cad9f8">More...</a><br/></td></tr>
<tr class="separator:abd8e9c1a7237ba88889c3b1e59cad9f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97f52e5b1dc24701791c04af34a5bcc4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a97f52e5b1dc24701791c04af34a5bcc4">ISO_VERIFY</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a97f52e5b1dc24701791c04af34a5bcc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 VERIFY command handler.  <a href="#a97f52e5b1dc24701791c04af34a5bcc4">More...</a><br/></td></tr>
<tr class="separator:a97f52e5b1dc24701791c04af34a5bcc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb730074dfffb4939b8359dcfd32d31f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#abb730074dfffb4939b8359dcfd32d31f">ISO_INTERNAL_AUTH</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:abb730074dfffb4939b8359dcfd32d31f"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 INTERNAL_AUTH command handler.  <a href="#abb730074dfffb4939b8359dcfd32d31f">More...</a><br/></td></tr>
<tr class="separator:abb730074dfffb4939b8359dcfd32d31f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad479309cac0ab19c9d76e4997b75d9ed"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#ad479309cac0ab19c9d76e4997b75d9ed">ISO_LOAD</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:ad479309cac0ab19c9d76e4997b75d9ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 LOAD command handler.  <a href="#ad479309cac0ab19c9d76e4997b75d9ed">More...</a><br/></td></tr>
<tr class="separator:ad479309cac0ab19c9d76e4997b75d9ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d755aec222984d3ca4899f654d317eb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a5d755aec222984d3ca4899f654d317eb">ISO_INSTALL</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a5d755aec222984d3ca4899f654d317eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 INSTALL command handler.  <a href="#a5d755aec222984d3ca4899f654d317eb">More...</a><br/></td></tr>
<tr class="separator:a5d755aec222984d3ca4899f654d317eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8dd28c7615a8b647397ad5470815076e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a8dd28c7615a8b647397ad5470815076e">ISO_DELETE</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a8dd28c7615a8b647397ad5470815076e"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 DELETE command handler.  <a href="#a8dd28c7615a8b647397ad5470815076e">More...</a><br/></td></tr>
<tr class="separator:a8dd28c7615a8b647397ad5470815076e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34d71a159c75de7411af9cbabddc39e0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a34d71a159c75de7411af9cbabddc39e0">ISO_GET_RESPONSE</a> (<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *<a class="el" href="pintaros_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a>)</td></tr>
<tr class="memdesc:a34d71a159c75de7411af9cbabddc39e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">ISO 7816-4 GET RESPONSE command handler.  <a href="#a34d71a159c75de7411af9cbabddc39e0">More...</a><br/></td></tr>
<tr class="separator:a34d71a159c75de7411af9cbabddc39e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a6285e46c8f2af73763a14ccf23f7568e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6285e46c8f2af73763a14ccf23f7568e"></a>
<a class="el" href="structcmd__maps__struct.html">cmd_maps_struct</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a6285e46c8f2af73763a14ccf23f7568e">cmd_maps</a> [<a class="el" href="command_8h.html#a7fabbb6b6d870eadcd88ddb6842ff86d">MAX_INST</a>]</td></tr>
<tr class="memdesc:a6285e46c8f2af73763a14ccf23f7568e"><td class="mdescLeft">&#160;</td><td class="mdescRight">command maps <br/></td></tr>
<tr class="separator:a6285e46c8f2af73763a14ccf23f7568e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28bf060ef36a16e798dda0e06448b6c7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28bf060ef36a16e798dda0e06448b6c7"></a>
<a class="el" href="structapdu__res__struct.html">apdu_res_struct</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="command_8h.html#a28bf060ef36a16e798dda0e06448b6c7">apdu_res</a></td></tr>
<tr class="memdesc:a28bf060ef36a16e798dda0e06448b6c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">apdu resources <br/></td></tr>
<tr class="separator:a28bf060ef36a16e798dda0e06448b6c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header file for command interpreter and ISO command handler. </p>
<dl class="section author"><dt>Author</dt><dd>Ricky Hariady (<a href="#" onclick="location.href='mai'+'lto:'+'ric'+'ky'+'.ha'+'ri'+'ady'+'@e'+'nte'+'r.'+'web'+'.i'+'d'; return false;">ricky<span style="display: none;">.nosp@m.</span>.har<span style="display: none;">.nosp@m.</span>iady@<span style="display: none;">.nosp@m.</span>ente<span style="display: none;">.nosp@m.</span>r.web<span style="display: none;">.nosp@m.</span>.id</a>)</dd></dl>
<dl class="section date"><dt>Date</dt><dd>7/10/2013 </dd></dl>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="command_8h.html#ac78bdf3e73cf9c21a952bedd064dcb17">inst_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>command instruction enumeration </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a28156e28735032cb52e9750039942250"></a>Select</em>&nbsp;</td><td class="fielddoc">
<p>Select Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a0e280497c793887d4f2a6ef294fa01d1"></a>ReadBinary</em>&nbsp;</td><td class="fielddoc">
<p>Read Binary Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a4c62d44d03cc5692e55338b8700a476e"></a>UpdateBinary</em>&nbsp;</td><td class="fielddoc">
<p>Update Binary Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a0db9f7c46e29c576cc74d69aa9caf3d6"></a>ReadRecord</em>&nbsp;</td><td class="fielddoc">
<p>Read Record Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a8a375e76998677b0d3e9f98ab3168e34"></a>UpdateRecord</em>&nbsp;</td><td class="fielddoc">
<p>Update Record Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a663d39e7eb1c3642d09be4dc5702e192"></a>CreateFile</em>&nbsp;</td><td class="fielddoc">
<p>Create File Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17ae7351e7a5477bf875bb31d999c289520"></a>AppendRecord</em>&nbsp;</td><td class="fielddoc">
<p>Append Record Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a57479680371066393b8b4fdd05ab5600"></a>DeleteFile</em>&nbsp;</td><td class="fielddoc">
<p>Delete File Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a2e6c0938406548712044f94366ff1a3f"></a>Verify</em>&nbsp;</td><td class="fielddoc">
<p>Verify Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a8689f4b5a525a36ab8ad61c21e98dc1e"></a>InternalAuth</em>&nbsp;</td><td class="fielddoc">
<p>Internal Authentication Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17ac40ec5db2990469fc236f4c5dea23edb"></a>Load</em>&nbsp;</td><td class="fielddoc">
<p>Load Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17a8b83e06a4f6b163490fb3351bbd5aa3a"></a>Install</em>&nbsp;</td><td class="fielddoc">
<p>Install Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17af89e673477625e3afc8d736d14cd268a"></a>Delete</em>&nbsp;</td><td class="fielddoc">
<p>Delete Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17afafffa33c685091de435b2c985c39d40"></a>GetResponse</em>&nbsp;</td><td class="fielddoc">
<p>Get Response Command. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ac78bdf3e73cf9c21a952bedd064dcb17ab001b7e66b05242f00155ae689c13869"></a>MaxInst</em>&nbsp;</td><td class="fielddoc">
<p>End of Command enumeration. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a83942a667e01b27bfeee7cfd36b02b2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CommandInterpreter </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interpret command APDU and call appropriate command handler. </p>
<p>Call by <a class="el" href="transmission_8h.html#a1de9404b5817c6a4c51eea56c32eedf3" title="Receive the command APDU. ">transRx()</a> when finish receiving command APDU, Then call <a class="el" href="response_8h.html#a6be05ba2852f56e51be7c2b35e9018c8" title="set up an appropriate response APDU ">ResponseManager()</a> to transmit the return APDU</p>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a class="anchor" id="a318874024e3aba75110f6c7432ee209f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_APPEND_RECORD </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 APPEND RECORD command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a060fe05a15301c9f3c20a76603ace01e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_CREATE_FILE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 CREATE FILE command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a8dd28c7615a8b647397ad5470815076e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_DELETE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 DELETE command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="abd8e9c1a7237ba88889c3b1e59cad9f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_DELETE_FILE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 DELETE FILE command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a34d71a159c75de7411af9cbabddc39e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_GET_RESPONSE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 GET RESPONSE command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a5d755aec222984d3ca4899f654d317eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_INSTALL </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 INSTALL command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="abb730074dfffb4939b8359dcfd32d31f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_INTERNAL_AUTH </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 INTERNAL_AUTH command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="ad479309cac0ab19c9d76e4997b75d9ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_LOAD </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 LOAD command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a588169cc127aae2c864db2c0ca25d8f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_READ_BINARY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 READ BINARY command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a9b4035820c2db0939f5688528028e1c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_READ_RECORD </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 READ RECORD command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="ad0129da990c2616610a0912fbfc26193"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_SELECT </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 SELECT command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result<br/>
 Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a29b292641b637806f13b141083c934a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_UPDATE_BINARY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 UPDATE BINARY command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a65fd4ec11629c588428cca9242d8d57a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_UPDATE_RECORD </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 UPDATE RECORD command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
<a class="anchor" id="a97f52e5b1dc24701791c04af34a5bcc4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ISO_VERIFY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structapdu__res__struct.html">apdu_res_struct</a> *&#160;</td>
          <td class="paramname"><em>apdu_res</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ISO 7816-4 VERIFY command handler. </p>
<p>Call by <a class="el" href="command_8h.html#a83942a667e01b27bfeee7cfd36b02b2c" title="Interpret command APDU and call appropriate command handler. ">CommandInterpreter()</a>. Executed the selected command and return the response type and data back to apdu_res</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">*apdu_res</td><td>pointer to APDU resources </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Result Success = OK Not Success = Error </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jul 10 2013 16:42:56 for PintarOS by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
